package Utils;

import android.os.Environment;

public class FilePath {

    public static final String ROOTPATH = GetRootPath();
    public static final String SYSTEMPATH = ROOTPATH + "/data";
    public static final String PICTUREPATH = ROOTPATH + "/picture";

    public static String GetRootPath() {

        if (Environment.getExternalStorageState().equals(
                Environment.MEDIA_MOUNTED)) {

            return Environment.getExternalStorageDirectory().getPath()
                    + "/enbo";

        } else {

            return "/sdcard" + "/enbo";
        }

    }

}
